package com.ruoyi.applet.service;

import com.ruoyi.applet.domain.AppletExamTopic;

import java.util.List;

/**
 * topicService接口
 *
 * @author PengFei Deng
 * @date 2022-04-14
 */
public interface IAppletExamTopicService {
    /**
     * 查询topic
     *
     * @param topicId topic主键
     * @return topic
     */
    AppletExamTopic selectAppletExamTopicByTopicId(Long topicId);

    /**
     * 查询topic列表
     *
     * @param appletExamTopic topic
     * @return topic集合
     */
    List<AppletExamTopic> selectAppletExamTopicList(AppletExamTopic appletExamTopic);

    /**
     * 新增topic
     *
     * @param appletExamTopic topic
     * @return 结果
     */
    int insertAppletExamTopic(AppletExamTopic appletExamTopic);

    /**
     * 修改topic
     *
     * @param appletExamTopic topic
     * @return 结果
     */
    int updateAppletExamTopic(AppletExamTopic appletExamTopic);

    /**
     * 批量删除topic
     *
     * @param topicIds 需要删除的topic主键集合
     * @return 结果
     */
    int deleteAppletExamTopicByTopicIds(Long[] topicIds);

    /**
     * 删除topic信息
     *
     * @param topicId topic主键
     * @return 结果
     */
    int deleteAppletExamTopicByTopicId(Long topicId);

}
